package com.copa.module.system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.copa.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
 * @author copa
 * @createDate 2021-02-24
 * @function   t_config表实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_config")
@ApiModel(value="Config对象", description="")
public class ConfigEntity extends BaseEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "配置类型")
    @TableField("key")
    private String key;

    @ApiModelProperty(value = "配置内容")
    @TableField("value")
    private String value;

    @ApiModelProperty(value = "详情、比如附加链接之类的")
    @TableField("desc")
    private String desc;

    @ApiModelProperty(value = "是否显示")
    @TableField("is_show")
    private Integer isShow;

    @ApiModelProperty(value = "排序")
    @TableField("sort_order")
    private Integer sortOrder;

    @ApiModelProperty(value = "是否删除 0否 1是")
    @TableField("is_delete")
    private Integer isDelete;


    public static final String KEY = "key";

    public static final String VALUE = "value";

    public static final String DESC = "desc";

    public static final String IS_SHOW = "is_show";

    public static final String SORT_ORDER = "sort_order";

    public static final String IS_DELETE = "is_delete";


}
